public class UIAgentExtended extends Agent
| Modifier and Type | Field and Description |
|---|---|
protected int |
bidCounter |
protected java.util.ArrayList<agents.NegoRoundData> |
historyOfBids |
protected agents.NegoRoundData |
roundData |
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace| Constructor and Description |
|---|
UIAgentExtended() |
| Modifier and Type | Method and Description |
|---|---|
Action |
chooseAction()
this function is called after ReceiveMessage,
with an Offer-action.
|
Bid |
getMyPreviousBid() |
Bid |
getOppPreviousBid() |
static java.lang.String |
getVersion()
One agent will be kept alive over multiple sessions.
|
void |
init()
This method is called by the protocol every time before starting a new
session after the internalInit method is called.
|
boolean |
isUIAgent()
Determine if this agent is communicating with the user about nego steps.
|
void |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did
|
endSession, getAgentID, getName, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUtility, internalInit, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleepprotected int bidCounter
protected agents.NegoRoundData roundData
protected java.util.ArrayList<agents.NegoRoundData> historyOfBids
public static java.lang.String getVersion()
public void init()
Agentpublic void ReceiveMessage(Action opponentAction)
AgentReceiveMessage in class Agentpublic Action chooseAction()
AgentchooseAction in class Agentpublic boolean isUIAgent()
Agentpublic Bid getMyPreviousBid()
public Bid getOppPreviousBid()